package com.javachmapi.weixinlogin.config;

/**
 * API 相关常量类
 * @author 宋利军
 * @since 2020-05-27 04:01:13
 */
public class APIConfig {

    /**
     * 自定义加密措施
     */
    public static final String PWD_MD5 = "123456";

    public static final String QRCONNECT_SCOPE_SNSAPI_LOGIN = "snsapi_login";

    // 网页授权回调地址
    public static final String AUTHORIZATION_URL = "https://open.weixin.qq.com/connect/qrconnect";

    // 通过code获取access_token
    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";

    // 此接口用于获取用户个人信息 UnionID机制
    public static final String GET_UNIONID_URL = "https://api.weixin.qq.com/sns/userinfo";

}
